Mollie\WooCommerce\PaymentMethods\AbstractPaymentMethod A

Total Complexity 69
Dependencies 20
Dependents 3
Total lines 342
Lines of code 216
Logical lines of code 122
Comment lines 78
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
paymentMethodIconProvider()
S
57 6 14
paymentFieldsRenderer()
S
57 4 15
defaultSettings()
S
60 3 12
hasFields()
S
63 3 11
title()
S
66 3 8
getInitialOrderStatus()
S
71 3 6
supports()
S
63 3 10
refundProcessor()
S
66 3 8
isCreditCardSelectorEnabled()
S
73 2 4
hasSurcharge()
S
78 2 3
shouldDisplayIcon()
S
74 2 4
getProcessedDescription()
S
73 2 4
getSettings()
S
66 2 8
updateSettingsWithDefaults()
S
64 2 9
getApiTitle()
S
71 2 5
titleIsDefault()
S
68 2 7
description()
S
75 2 4
__construct()
S
73 1 5
getIdFromConfig()
S
76 1 4
getUploadedImage()
S
75 1 4
surcharge()
S
82 1 3
hasPaymentFields()
S
80 1 3
getProcessedDescriptionForBlock()
S
80 1 3
getProperty()
S
75 1 4
hasProperty()
S
75 1 4
getMergedProperties()
S
79 1 3
isUseApiTitleChecked()
S
79 1 3
id()
S
80 1 3
paymentProcessor()
S
80 1 3
paymentRequestValidator()
S
80 1 3
methodTitle()
S
79 1 3
methodDescription()
S
80 1 3
availabilityCallback()
S
69 1 7
gatewayIconsRenderer()
S
79 1 3
formFields()
S
69 1 6
optionKey()
S
80 1 3
registerBlocks()
S
81 1 3
orderButtonText()
S
82 1 3
customSettings()
S
73 1 5
icon()
S
82 1 3